﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class ePioneer_Center_ep_courseinfo : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            DateTime nowDate = DateTime.Now.AddDays(1);
            EMPCModel.EMPCEntities dal = new EMPCModel.EMPCEntities();
            var list = dal.ePioneer_CourseInfo.OrderByDescending(x => x.CourseStartDate);
            RepeaterCourseInfo.DataSource = list;
            RepeaterCourseInfo.DataBind();
        }
    }
}